package qdu.edu.com.fushanf4.service.count.usertype;

import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Reducer;

import java.io.IOException;

public class ClassificationOfProductDescriptionsByUserTypeReducer extends Reducer<Text, Text, NullWritable, Text> {
    @Override
    protected void reduce(Text key, Iterable<Text> values, Context context) throws IOException, InterruptedException {
        for (Text valueOut : values) {
            context.write(NullWritable.get(), valueOut);
        }
    }
}
